<template>
  <div class="zixunBox">
    <div class="zixun flex-h" v-for="item in advisories" :key="item.academy_code" @click="goDetail(item.academy_code)">
      <div class="left">
        <img :src="item.icon" alt="" />
      </div>
      <div class="center flex1">
        <h2>{{ item.academy_name }}</h2>
        <p>{{ item.feature }}</p>
      </div>
      <div class="right">
        <span>咨询</span>
      </div>
    </div>
  </div>
</template>

<script>
import ls from 'store2'
export default {
  props: {
    advisories: Array
  },
  data() {
    return {}
  },
  computed: {},
  mounted: function() {},
  methods: {
    goDetail(academy_code) {
      this.commonJs.gopush('../recruitStudents/academyIssue', academy_code)
    }
  }
}
</script>

<style scoped lang="less">
.zixunBox {
  width: 100%;
  padding: 0 0.3rem;
  box-sizing: border-box;
  height: auto;
  .zixun {
    overflow: hidden;
    padding: 0.3rem 0;
    border-bottom: 0.01rem solid rgba(230, 232, 237, 1);
    .left {
      img {
        display: block;
        width: 1.2rem;
        height: 1.2rem;
        border-radius: 50%;
      }
    }
    .center {
      padding-left: 0.3rem;
      box-sizing: border-box;
      h2 {
        font-size: 0.3rem;
        font-weight: 500;
        color: rgba(34, 34, 34, 1);
      }
      p {
        font-size: 0.24rem;
        font-weight: 400;
        color: rgba(153, 153, 153, 1);
        margin-top: 0.2rem;
        line-height: 0.36rem;
      }
    }
    .right {
      span {
        display: block;
        width: 1.2rem;
        height: 0.6rem;
        border-radius: 0.3rem;
        border: 0.01rem solid rgba(255, 160, 0, 1);
        text-align: center;
        line-height: 0.6rem;
        font-size: 0.26rem;
        font-weight: 400;
        color: rgba(255, 173, 13, 1);
        margin-top: 0.35rem;
      }
    }
  }
}
</style>
